package com.denlaku.longan.controller;

import com.denlaku.longan.http.Return;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author tianx
 */
@RequestMapping("/public")
public interface RsaController {
    /**
     * 获取公钥
     *
     * @return 公钥
     */
    @PostMapping("/getKey")
    Return<String> getPublicKey();
}
